package com.qf.proxy1;
//静态代理
//代理销售电脑，实现卖电脑许可接口
public class ComputerProxy implements ComputerPermission{
    @Override
    public String saleComputer() {
        System.out.println("分期付款");
        String computer = new ComputerFactory().saleComputer();
        System.out.println("售后维护");
        return computer;
    }
}
